package school.dao;

import java.util.List;

import school.entity.Page;
import school.entity.Student;

public interface StudentDao {
	int add(Student s);

	int del(long stuno);

	int update(Student s);

	// pk查一个
	Student find(Long stuno);

	List<Student> query();

	public Student login(Long stuno, String pass);

	public Page<Student> query(int pageNo);
}
